package com.woniu.order.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年05月23日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("follow_up")
public class FollowUp implements Serializable {

    private static final long serialVersionUID = 1L;

    /*
     * 回访记录表
     */
    @ApiModelProperty(name = "id",value = "id")
    @TableField("id")
    private Long id;

    /*
     * 订单号
     */
    @ApiModelProperty(name = "orderNum",value = "订单号")
    @TableField("order_num")
    private String orderNum;

    /*
     * 取消性质0用户1员工2站点
     */
    @ApiModelProperty(name = "responsibility",value = "取消性质0用户1员工2站点")
    @TableField("responsibility")
    private Long responsibility;

    /*
     * 取消原因
     */
    @ApiModelProperty(name = "cancelReason",value = "取消原因")
    @TableField("cancel_reason")
    private String cancelReason;

    /*
     * 订单时间
     */
    @ApiModelProperty(name = "orderTime",value = "订单时间")
    @TableField("order_time")
    private LocalDateTime orderTime;

    /*
     * 订单价格
     */
    @ApiModelProperty(name = "orderPrice",value = "订单价格")
    @TableField("order_price")
    private BigDecimal orderPrice;

    /*
     * 当时负责此订单的员工id
     */
    @ApiModelProperty(name = "handelId",value = "当时负责此订单的员工id")
    @TableField("handel_id")
    private Long handelId;

    /*
     * 用户id
     */
    @ApiModelProperty(name = "userId",value = "用户id")
    @TableField("user_id")
    private Long userId;

    /*
     * 用户电话
     */
    @ApiModelProperty(name = "userPhone",value = "用户电话")
    @TableField("user_phone")
    private String userPhone;

    /*
     * 用户姓名
     */
    @ApiModelProperty(name = "userName",value = "用户姓名")
    @TableField("user_name")
    private String userName;

    /*
     * 回访员工id
     */
    @ApiModelProperty(name = "followId",value = "回访员工id")
    @TableField("follow_id")
    private Long followId;

    /*
     * 0回访中1回访完成
     */
    @ApiModelProperty(name = "state",value = "0回访中1回访完成")
    @TableField("state")
    private Long state;

    /*
     * 回访记录
     */
    @ApiModelProperty(name = "record",value = "回访记录")
    @TableField("record")
    private String record;


}
